﻿/***************************************************************************
*		功能：     货品类别实体类(代码生成工具搞定的)
*		作者：     Hydra
*		日期：     2011-08-11 05:47
*		
*		修改日期：
*		修改人：
*		修改内容：
/* *************************************************************************/
using System;
using System.Xml.Serialization;
using System.Runtime.Serialization;
using System.IO;
using System.Text;
using System.Data;
using Deeper.DataAccess;
using Deeper.Common;
using Deeper.Common.Web;
using System.Collections.Generic;
namespace ZhongTian.Model
{
	/// <summary>
	/// 货品类别
	/// </summary>
	[Serializable]
	[HTable(TableName = "T_ItemClass", EntityName = "ItemClass")]
	public partial class ItemClass :  IModel
	{
        /// <summary>
        /// 是否新参数
        /// </summary>
        public bool IsNewModel() { return ItemClassId == 0; }

	    #region 所有的字段
	 
	    
		/// <summary>
		/// Id
		/// </summary>
		[HColumn("ItemClassId", Remake = "Id", DataType = "numeric" , IsPrimary = true , IsIdentity = true , IsUniqueness = true)]
		public int ItemClassId { set; get; }
        

		/// <summary>
		/// 货品类别名称
		/// </summary>
		[HColumn("ItemClassName", Remake = "货品类别名称", DataType = "nvarchar" , Length =40 , IsUniqueness = true)]
		public string ItemClassName { set; get; }
        



        public class F
        {
    		 
			 /// <summary>
			 /// Id
			 /// </summary>
			 public static Field ItemClassId = new Field("T_ItemClass","ItemClassId");
	    	 

			 /// <summary>
			 /// 货品类别名称
			 /// </summary>
			 public static Field ItemClassName = new Field("T_ItemClass","ItemClassName");
	    	 

        }
        #endregion
		  
	 
	}
    
}